package com.hc.service.impl;

import com.hc.dao.UserDao;
import com.hc.dao.impl.UserDaoImpl;
import com.hc.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public void save() {
        System.out.println("Service层调用Dao层保存数据");
        userDao.save();
    }
}
